//
//  PersonalUserPhotoModel.m
//  ChatForHot
//
//  Created by wr on 2018/10/15.
//  Copyright © 2018年 FLY. All rights reserved.
//

#import "PersonalUserPhotoModel.h"

@implementation PersonalUserPhotoModel

- (void)setValue:(id)value forKey:(NSString *)key {
    if ([value isKindOfClass:[NSNumber class]]) {
        [super setValue:(((NSNumber *)value).stringValue) forKey:key];
    }else{
        [super setValue:value forKey:key];
    }
}

- (NSString *)HOTCHATstatusBack{
    if ([self.status isEqualToString:@"1"]) {
        return @"videostate_1";
    }else if ([self.status isEqualToString:@"3"]) {
        return @"videostate_3";
    }
    
    return nil;
}

- (NSString *)HOTCHATstatusMsg{
    if ([self.status isEqualToString:@"1"]) {
        return NSLocalizedString(@"StringNO251", nil);
    }else if ([self.status isEqualToString:@"3"]) {
        return NSLocalizedString(@"StringNO252", nil);
    }
    
    return nil;
}

@end
